package com.bicon.botu.mall.base.api;

import com.bicon.botu.mall.base.service.TranceRecommendService;
import com.bicon.botu.core.base.common.controller.BaseController;
import com.bicon.botu.core.base.common.entity.BaseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * <p> 定制推荐 移动端api
 * </p>
 *
 * @author tao.zeng.
 * @since 2018/3/15.
 */
@RestController
@RequestMapping("/V2.0.0/api/trance-recommend")
public class TranceRecommendApi extends BaseController {

    @Autowired
    private TranceRecommendService tranceRecommendService;

    @GetMapping("/get")
    public BaseResult get() {
        return sendResult200(tranceRecommendService.get());
    }
}
